import request from './request'

export const getRiskengine = () => {
  return request({
    url: 'engine/all',
    method: 'get'
  })
}
export const updateRiskengine = (data) => {
  return request({
    url: 'engine/set',
    method: 'post',
    data
  })
}
export const addRiskengine = (data) => {
  return request({
    url: 'engine/add',
    method: 'post',
    data
  })
}
